package constants // Copyright © 2015-2018 Anker Innovations Technology Limited All Rights Reserved.

// const .
const (
	ParamsDeviceBattery     = 1101
	ParamsStationMode       = 1224 // 基站当前模式
	ParamsRepeater          = 1265
	ParamsDeviceStatus      = 1131
	ParamsDevicePowerSaving = 1246
	ParamsDeviceModeAway    = 1239 // away模式
	ParamsDeviceModeHome    = 1225 // home模式
	ParamsStationModeCustom = 1256 // 设置自定义布防模式基站参数
	ParamsDeviceModeCustom1 = 1148 // 设置自定义布防模式1摄像头参数
	ParamsDeviceModeCustom2 = 1149 // 设置自定义布防模式2摄像头参数
	ParamsDeviceModeCustom3 = 1150 // 设置自定义布防模式3摄像头参数
	ParamsArmDelayHome      = 1157 // home模式布防延时
	ParamsArmDelayAway      = 1158 // away模式布防延时
	ParamsArmDelayCustom1   = 1159 // 设置自定义布防模式1布防延时
	ParamsArmDelayCustom2   = 1160 // 设置自定义布防模式2布防延时
	ParamsArmDelayCustom3   = 1161 // 设置自定义布防模式3布防延时
	ParamsMotionDetection   = 1011
	ParamsPirSensitivity    = 1210
	ParamsCamearOnOff       = 99904
	ParamsNASOnOff          = 1145
	ParamGetHubNatType      = 1155 //上报基站的NAT类型
	ParamsNotification      = 1252
	ParamsStationTimeMode   = 1253
	ParamStation1135        = 1135
	ParamsDeviceModeOff     = 1177 // off模式

	ParamsDevRecordTimeOut  = 1249
	ParamsDevRecordInterval = 1250
	ParamsDevRecordAutoStop = 1251

	ParamsAntiTheft = 1015
	ParamsHotZone   = 1204
	ParamsUnHotZone = 1273 //设置移动侦测区外是否录像(1: 不录像, default: 0 录像)

	//FloodLight灯设置参数
	ParamManualSwitch  = 1400 //FloodLight手动开关
	ParamBrightValue   = 1401 //设置FloodLight灯的亮度
	ParamTotalSwitch   = 1403 //大灯总开关
	ParamLightSchedule = 1404 //设置floodlight大灯时间段
	ParamPirSwitch     = 1408 //灯控Pir触发开关
	ParamPirTime       = 1409 //灯控PIR触发亮灯时间
	ParamMotionPir     = 1272 //Motion灵敏度
	ParamMotionSensor  = 2101 //Motion灵敏度

	ParamsSmartLockStatus  = 6000 //门锁状态类型 0开锁状态 1关锁状态
	ParamsSmartLockBattery = 6001 //门锁电池

	ParamsSmartLockIsAutoLock   = 6500 //自动上锁；0关闭，1打开；默认0
	ParamsSmartLockAutoLockTime = 6600 //单位s 范围0~180

	ParamsSmartLockIsSchedule    = 6501 //自动上锁schedule开关；0关闭，1打开，默认0
	ParamsSmartLockScheduleStart = 6601 //开始时间（2字节）(时分)转16进制
	ParamsSmartLockScheduleEnd   = 6602 //结束时间（2字节）(时分)转16进制

	ParamsSmartLockIsOneTouchLock = 6502 //一键上锁开关；0关闭，1打开；默认1

	ParamsSmartLockIsWrongTryProtect = 6503 //试错保护机制开关；0关闭，1打开；默认1
	ParamsSmartLockWrongTryTime      = 6603 //试错次数；3~10，默认5
	ParamsSmartLockLockDownTime      = 6604 //锁定时间；单位s；范围60~300s；默认180s

	ParamsSmartLockIsScramblePasscode = 6504 //虚位密码开关；0关闭，1打开；默认0

	ParamsSmartLockLockSound = 6505 //门锁音量；0关闭 1 Low 2Medium 3High 默认2

	ParamsSmartLockIsNotification     = 6506 //推送通知开关；0关闭，1打开，默认0
	ParamsSmartLockNotifyUnLockStatus = 6605 //通知时机unlock通知，0开启，1关闭
	ParamsSmartLockNotifyLockStatus   = 6606 //通知时机；locked时候通知；0开启，1关闭

	ParamSmartLockOtaStatus    = 6607 //ota状态
	ParamSmartLockOnlineStatus = 6608 //门锁是否在线
	ParamSmartLockInitComplete = 6609 //门锁是否初始化完成，1:完成 0：未完成，默认未完成
	HUB_OTA_KEY                = 1133
	DEV_OTA_KEY                = 1134

	ParamPoolMonitorIsNotify = 7001

	CamearOnOffInvalid   = "255"
	StationModeValueAway = "0"
	StationModeValueHome = "1"

	LOGIN_PARAM_TYPE  = 10001
	TWO_FA_PARAM_TYPE = 10002

	TWO_FA_PARAM_TYPE_ON  = "on"
	TWO_FA_PARAM_TYPE_OFF = "off"

	PHONE_MODEL_TYPE = "PHONE"
	PAD_MODEL_TYPE   = "PAD"
	WEB_MODEL_TYPE   = "WEB"
	IPOD_MODEL_TYPE  = "IPOD"
	PC_MODEL_TYPE    = "PC"

	OS_TYPE      = "IOS"
	ANDROID_TYPE = "android"

	RESET_PASSWORD  = "reset_password"
	CHANGE_PASSOWRD = "change_password"

	// 基站当前模式值的定义
	GuardTypeAway       = 0  //GUARD_TYPE_AWAY = 0; // 离家模式
	GuardTypeHome       = 1  //GUARD_TYPE_HOME = 1; // 在家模式
	GuardTypeSchedule   = 2  //GUARD_TYPE_SCHEDULE = 2; // 自定义Sched
	GuardTypeCustom1    = 3  //GUARD_TYPE_CUSTOM1 = 3; // 自定义模式1
	GuardTypeCustom2    = 4  //GUARD_TYPE_CUSTOM2 = 4; // 自定义模式2
	GuardTypeCustom3    = 5  //GUARD_TYPE_CUSTOM3 = 5; // 自定义模式3
	GuardTypeOff        = 6  //GUARD_TYPE_OFF = 6; // off模式
	GuardTypeGeofencing = 47 // geofencing模式
	GuardTypeDisarm     = 63 // disarm模式

	AutoCreateAlarmFlag = 0x40 // 自动监控标识

	StringKeypad = "keypad"
)
